<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>首页</title>
</head>
<body>

</body>
<script type="text/javascript" src="${pageContext.request.contextPath}/assets/js/jquery.min.js"></script>
<script >
    $(function () {
        //url的功能是进入登录界面
        location.href = "user/show-login"; //就这里也是报这个错误
    });
</script>

</html>
